Teacher Version
Line Tracking
Topics Covered
- Line Tracking Challenge
Physical Robot: LineTracking.rbg
Virtual Robot: LineTrackingVR.rbg
Check Your Understanding
- If the robot is seeing black, what can it tell about its position?
- It is over the line.
- It is outside of the line to the left.
- It is outside of the line to the right.
- It is facing northward.
- Suppose the robot is tracking the left edge of the line, and sees black. Which direction should it move?
- Forward and to the left, because the left edge is in that direction
- Forward and to the right, because the left edge is in that direction
- Straight forward, because the line will curve eventually
- Turn left in place, because the left edge is in that direction
- Which basic program pattern is being used in this Line Tracking behavior?
- Sequential Movements
- Parallelism
- Repeated Decisions
- Variables